Skip to content

Improve NCCL UBR support. Extend cuMem/VMM allocation feature to platforms without fabric allocation support.#152

Merged
romerojosh merged 2 commits into
mainfrom
nccl-ubr-cumem-workspace
Jul 15, 2026
Merged

Improve NCCL UBR support. Extend cuMem/VMM allocation feature to platforms without fabric allocation support.#152
romerojosh merged 2 commits into
mainfrom
nccl-ubr-cumem-workspace

Conversation

@romerojosh

Copy link
Copy Markdown
Collaborator

This PR is a follow-up to #122, which was an attempt at improving the NCCL user buffer registration (UBR) implementation in the library.

Registered buffers in NCCL are required to be allocated with cuMem APIs; however, cuDecomp does not automatically enforce this requirement on the workspace when the user-buffer feature is enabled. Further, the current cuMem functionality is limited to systems with fabric allocation support due to being initially implemented for MNNVL systems. This PR addresses both issues by:

  1. Extending cuMem/VMM allocation support to platforms without fabric allocation support, which is a broader set.
  2. Using cuMem/VMM APIs for workspace allocations when CUDECOMP_ENABLE_NCCL_UBR is enabled.

@romerojosh romerojosh force-pushed the nccl-ubr-cumem-workspace branch from ec3fded to 659e73e Compare July 15, 2026 06:53
…forms

without fabric allocation support.

Signed-off-by: romerojosh <joshr@nvidia.com>
Signed-off-by: romerojosh <joshr@nvidia.com>
@romerojosh romerojosh force-pushed the nccl-ubr-cumem-workspace branch from 659e73e to 3e7ae78 Compare July 15, 2026 07:03
@romerojosh

Copy link
Copy Markdown
Collaborator Author

/build

@github-actions

Copy link
Copy Markdown

🚀 Build workflow triggered! View run

@github-actions

Copy link
Copy Markdown

✅ Build workflow passed! View run

@romerojosh romerojosh merged commit 4cf7ed1 into main Jul 15, 2026
4 checks passed
@romerojosh romerojosh deleted the nccl-ubr-cumem-workspace branch July 15, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant